package com.aizhixin.lab.course.course.entity;

import com.aizhixin.lab.common.entity.AbstractIdAndCreatedDateEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity(name = "c_course_chapter_att")
@ToString
public class CourseChapterAtt extends AbstractIdAndCreatedDateEntity {
    @Column(name = "chapter_id")
    @Getter
    @Setter
    private Long chapterId;
    @Column(name = "name")
    @Getter
    @Setter
    private String name;
    @Column(name = "type")
    @Getter
    @Setter
    private Integer type;//10:课堂笔记 20:课堂视频
    @Column(name = "no")
    @Getter
    @Setter
    private Integer no;
    @Column(name = "file_key")
    @Getter
    @Setter
    private String fileKey;
    @Column(name = "file_url")
    @Getter
    @Setter
    private String fileUrl;
}
